package com.chendx.store.user.service;

import com.chendx.model.common.dtos.ResponseResult;
import com.chendx.model.user.dto.RegisterDto;

/**
 * Created by chendx on 2022/4/27.
 */
public interface RegisterService {

    /**
     * app端注册
     * @param dto
     * @return
     */
     ResponseResult register(RegisterDto dto);

    /***
     * 手机号是否存在
     * @param phone
     * @return
     */
    ResponseResult existPhone(String phone);


    /***
     * 用户账号是否存在
     * @param name
     * @return
     */
    ResponseResult existName(String name);
}
